﻿using System;
using System.Collections.Generic;
using Bit.Art.Core.Models;

namespace Bit.Art.Api.Models
{
    /// <summary>
    /// 用户的余额信息
    /// </summary>
    public class UserBalanceInfo
    {      
        /// <summary>
        /// 原始请求的Id
        /// </summary>
        public int RequestId { get; set; }

        /// <summary>
        /// 是否更新成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 如果获取失败的话的错误消息
        /// </summary>
        public string ErrorMessage { get; set; }

        /// <summary>
        /// 数字币
        /// </summary>
        public string Coin { get; set; }

        /// <summary>
        /// 总余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 可用余额
        /// </summary>
        public decimal Available { get; set; }

        /// <summary>
        /// 挂单余额
        /// </summary>
        public decimal Pending { get; set; }

        /// <summary>
        /// 用户在交易所的Id
        /// </summary>
        public uint UserId { get; set; }
	}
}
